package cn.jeefast.common.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author theodo
 * @since 2020-01-11
 */
@TableName("mb_res_bsase_info")
public class MbResBsaseInfo extends Model<MbResBsaseInfo> {

    private static final long serialVersionUID = 1L;

	@TableId(value="id", type= IdType.AUTO)
	private Long id;
    /**
     * 0 显示  1 不显示
     */
	@TableField("tp_show")
	private Integer tpShow;
    /**
     * 0 显示  1 不显示
     */
	@TableField("dw_show")
	private Integer dwShow;
    /**
     * 0 显示  1 不显示
     */
	@TableField("dg_show")
	private Integer dgShow;
	@TableField("proj_id")
	private Long projId;
	@TableField("res_id")
	private Long resId;


	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Integer getTpShow() {
		return tpShow;
	}

	public void setTpShow(Integer tpShow) {
		this.tpShow = tpShow;
	}

	public Integer getDwShow() {
		return dwShow;
	}

	public void setDwShow(Integer dwShow) {
		this.dwShow = dwShow;
	}

	public Integer getDgShow() {
		return dgShow;
	}

	public void setDgShow(Integer dgShow) {
		this.dgShow = dgShow;
	}

	public Long getProjId() {
		return projId;
	}

	public void setProjId(Long projId) {
		this.projId = projId;
	}

	public Long getResId() {
		return resId;
	}

	public void setResId(Long resId) {
		this.resId = resId;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "MbResBsaseInfo{" +
			", id=" + id +
			", tpShow=" + tpShow +
			", dwShow=" + dwShow +
			", dgShow=" + dgShow +
			", projId=" + projId +
			", resId=" + resId +
			"}";
	}
}
